const fetchData=require('./fetchData');

it('callback',(done)=>{
    function callback(data) {
        expect(data.code).toBe(200);
        done();
    }
    fetchData(callback);
});

